package com.liit.module.frame.utils;

/**
 * @author dingweibo
 * @Title: Const.java
 * @Description: 公用常量
 * @date 2015年11月28日
 */
public class Const {
	// 默认验证码参数名称
	public static final String DEFAULT_CAPTCHA_PARAM = "captcha";
	// 用户类型
	public static final String USER_TYPR = "user_type";
	public static final String PRODUCT_TYPE = "product_type";
	public static final String RETAIL_REGION = "retail_region";

	// 默认错误提示
	public static final String DEFAULT_ERROR = "网络错误,请稍后重试!";
	// 选中
	public static final String CHECKED = "checked";
	public static final String STATUS = "status";
	public static final String PAGINATION = "pagination";
	public static final String MSG = "msg";

	// 最大登录次数
	public static final int MAX_LOGIN_TIMES = 5;
	// MD5加密KEY
	public static final String MD5_KEY = "@XwoA%qIW#$!dvs";

	// 文件上传子目录
	public static final String UPLOAD_PATH_CAROUSEL = "carousel/";// 轮播图文件
	public static final String UPLOAD_PATH_BRAND = "brand/";// 品牌文件
	public static final String UPLOAD_PATH_PRODUCT = "product/";// 产品文件
	public static final String UPLOAD_PATH_ONLINE_LINK = "onlineLink/";// 线上购物图片
	public static final String UPLOAD_PATH_RETAIL = "retail/";// 授权门市文件
	public static final String UPLOAD_PATH_ABOUTUS = "aboutUs/";// 关于文件

	// 图片状态
	public static final int FILES_STATUS_INIT = 0;// 初始状态
	public static final int FILES_STATUS_DELETE = 1;// 待删除

	// 启用/禁用状态
	public static final int STATUS_ENABLED = 0;// 启用
	public static final int STATUS_DISABLED = 1;// 禁用
	// 是/否状态
	public static final int STATUS_NO = 0;// 否
	public static final int STATUS_YES = 1;// 是
}
